package practice;

import java.util.Scanner;

public class practice08 {
	public static void main(String[] args)
    {
        System.out.println("Please input your nums:");
        Scanner scanner=new Scanner(System.in);
        int i[] = new int[3];
        int m;
        i[0]=Integer.parseInt(scanner.nextLine());
        i[1]=Integer.parseInt(scanner.nextLine());
        i[2]=Integer.parseInt(scanner.nextLine());
        for (int j = 0;j<2;j++) {
        	for(int k = 0;k<3-j-1;k++) {
        		if(i[k]>i[k+1]) {
        			m = i[k];
        			i[k] = i[k+1];
        			i[k+1] = m;
        		}
        	}
        }
        System.out.println(i[0]+" "+i[1]+" "+i[2]);
    }
}
